﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace StatsData.Data.Migrations
{
    public partial class t_produce_statis_add_total_in_user_attend_hour : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<decimal>(
                name: "TOTAL_FINISH_USER_ATTEND_HOUR",
                table: "T_PRODUCE_STATIS",
                type: "NUMBER(18,6)",
                precision: 18,
                scale: 6,
                nullable: false,
                defaultValue: 0m);

            migrationBuilder.AddColumn<decimal>(
                name: "TOTAL_IN_USER_ATTEND_HOUR",
                table: "T_PRODUCE_STATIS",
                type: "NUMBER(18,6)",
                precision: 18,
                scale: 6,
                nullable: false,
                defaultValue: 0m);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "TOTAL_FINISH_USER_ATTEND_HOUR",
                table: "T_PRODUCE_STATIS");

            migrationBuilder.DropColumn(
                name: "TOTAL_IN_USER_ATTEND_HOUR",
                table: "T_PRODUCE_STATIS");
        }
    }
}
